cumulus: bump PARENT_SEARCH_DEPTH and add test for 12-core elastic scaling #6983
+193
−11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
On top of #6757
Fixes #6858 by bumping the
PARENT_SEARCH_DEPTH
constant to a larger value (30) and adds a zombienet-sdk test that exercises the 12-core scenario.This is a node-side limit that restricts the number of allowed pending availability candidates when choosing the parent parablock during authoring.
This limit is rather redundant, as the parachain runtime already restricts the unincluded segment length to the configured value in the FixedVelocityConsensusHook (which ideally should be equal to this
PARENT_SEARCH_DEPTH
).For 12 cores, a value of 24 should be enough, but I bumped it to 30 to have some extra buffer.
There are two other potential ways of fixing this: